<!---  <section>    -->    
   <!---   <article>   -->     
        <header>
            <!---  <h2>Login</h2>   -->   
        </header>
        <form action="<?php echo url_for('login/login') ?>" method="POST">
            <table id='tabla_facebook' style="position:relative;top:0px;left:220px;" >
            <thead>
                    <tr>
                        <th></th>
                        <th></th>
                    </tr>
                   
                <tr>
                    <th><b><?php echo $form['email']->renderLabel(); ?></b></th>
                    <th><b><?php echo $form['password']->renderLabel(); ?></b></th>
                </tr>
             </thead>    
                <tr>
            <td><?php echo $form['email']->render(array('style' => 'width: 200px;')); ?></td>
            <td><?php echo $form['password']->render(array('style' => 'width: 200px;')); ?></td>
                </tr>
         
                <tr>
            <td><?php echo link_to("Olvide mi contraseña", 'login/recuperacion');?></td>
            <th><input type="submit" style="width:205px; height:30px" value="Ingresar" /></th>
                </tr>
                
              <tfoot>    
                    <tr>
                      <th> </th>
                    <td></td>
                  </tr>
                </tfoot>
            </table>
        </form>
  <!---   </article>   -->    
<!--- <section>  -->  
  <!---   <article>  --> 
  <br><br><br><br>
  
           <form action="<?php echo url_for('login/create') ?>" method="POST">
            <table id='tabla_facebook2' style="position:relative;top:20px;left:220px;" >
                <thead>
                    <tr>
                        <th></th>
                        <th></th>
                        <th></th>
                    </tr>
                    <tr>
                        
                        <th colspan="3" text-align="center"><font size='5'>Registrar nuevo usuario</font></th>
                    </tr>
                    <tr>
                        <th></th>
                        <th></th>
                        <th></th>
                    </tr>
                </thead>
                
                <tr>
                    <td></td>
                </tr>
                <tr>
                    <td></td> <!--- <font size=10>  </font> -->
                    <th><font size=3><?php echo $form['email']->renderLabel(); ?></font></th>
                    <td><?php echo $form['email']->render(); ?></td>
                </tr>
                 <tr>
                    <td></td>
                </tr>
                <tr>
                    <td></td>
                    <th><font size=3><?php echo $form['nombre']->renderLabel(); ?></font></th>
                    <td><?php echo $form['nombre']->render(); ?></td>
                </tr>
                 <tr>
                    <td></td>
                </tr>
                <tr>
                    <td></td>
                    <th><font size=3><?php echo $form['apellidos']->renderLabel(); ?></font></th>
                    <td><?php echo $form['apellidos']->render(); ?></td>
                </tr>
                 <tr>
                    <td></td>
                </tr>
                <tr>
                    <td></td>
                    <th><font size=3><?php echo $form['password']->renderLabel(); ?></font></th>
                    <td><?php echo $form['password']->render(); ?></td>
                </tr>
                 <tr>
                    <td></td>
                </tr>
                <tr>
                    <td></td>
                    <th><font size=3><?php echo $form['password2']->renderLabel(); ?></font></th>
                    <td><?php echo $form['password2']->render(); ?></td>
                </tr>
                <tr>
                    <td></td>
                </tr>
                
                <tfoot>
                    <tr>
                      <th> </th><td></td>
                    <td colspan="2"  style="position:relative;left:0px;height:40px;">
                      <input style="width:285px; height:40px" type="submit" value="Registrarse" />
                    </td>
                  </tr>
                </tfoot>
            </table>
          </form>
<!---     </article>  -->  
<!--- </section>  -->  
<br> 

<?php if ($sf_user->hasFlash('notificacion')): ?>
  <?php echo '<script language="JavaScript"> alert("'.$sf_user->getFlash('notificacion').'");</script>' ?>
<?php endif ?>
<?php if ($sf_user->hasFlash('codigo')): ?>
  <?php echo '<script language="JavaScript"> alert("'.$sf_user->getFlash('codigo').'");</script>' ?>
<?php endif ?>
